Ext.define('BM.view.trade.CustomerBookList' ,{
    //extend: 'Ext.grid.Panel',
    extend: 'Ext.window.Window',
    alias : 'widget.customerbooklist',
    title : '宾客预订列表',
    //store : 'CustomerBooks',
    height: 300,
    width : 600,
    layout: 'fit',
    initComponent: function() {
		this.items = [
		{
			xtype:'grid',
			columns:[
            {header: '宾客姓名',  dataIndex: 'bookName',  flex: 1},
            {header: '联系电话', dataIndex: 'bookPhone', flex: 1},
            {header: '预订状态', dataIndex: 'status', flex: 1},
            {header: '预订包厢类型', dataIndex: 'boxType', flex: 1},
            {header: '预订手牌编号',  dataIndex: 'handTokenNum',  flex: 1},
            {header: '预抵时间', dataIndex: 'arriveOfTime', flex: 1},
            {header: '保留时间', dataIndex: 'keepOfTime', flex: 1},
            {header: '预订时间', dataIndex: 'createOfTime', flex: 1},
            {header: '备注', dataIndex: 'memo', flex: 1}
           ],
           store:'CustomerBooks'
		}];
		
		/*
        this.columns = [
            {header: '宾客姓名',  dataIndex: 'bookName',  flex: 1},
            {header: '联系电话', dataIndex: 'bookPhone', flex: 1},
            {header: '预订状态', dataIndex: 'status', flex: 1},
            {header: '预订包厢类型', dataIndex: 'boxType', flex: 1},
            {header: '预订手牌编号',  dataIndex: 'handTokenNum',  flex: 1},
            {header: '预抵时间', dataIndex: 'arriveOfTime', flex: 1},
            {header: '保留时间', dataIndex: 'keepOfTime', flex: 1},
            {header: '预订时间', dataIndex: 'createOfTime', flex: 1},
            {header: '备注', dataIndex: 'memo', flex: 1}
        ];*/

        this.callParent(arguments);
    }
});